package 曾世昌12_19.demo7;

import java.util.Date;

public class Book {
    String bookname;
    String author;
    int price;
    Date publishDate;

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public Date getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    public Book(String bookname, String author, int price, Date publishDate) {
        this.bookname = bookname;
        this.author = author;
        this.price = price;
        this.publishDate = publishDate;
    }

    public Book() {
    }
}
